package com.gs.xbinfomytest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Created : IntelliJ IDEA.
 * @ProjectName: xbinfotest
 * @Package: com.dayang.xbinfotest.controller
 * @Author: guoshuai
 * @CreateDate: 2019/8/8 15:42
 * @Description: java类的作用描述
 * @Vsersion: 1.0
 */

@Controller
public class HTMLController {

   @RequestMapping("/")
   public String index1(){
       return "login";
   }

    @RequestMapping("/login")
    public String login(){
        return "login";
    }

    @RequestMapping("/index")
    public String index(){
        return "index";
    }

    @RequestMapping("/welcome")
    public String welcome(){
        return "welcome";
    }
}
